package com.uni.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@NoArgsConstructor
@Data
public class AddShopCommodityDTO {

    private Long id;
    private Long shopId;
    private Long commodityCategoryId;
    private String coverUrl;
    private String name;
    private Integer price;
//    private Integer specification;
//    private String ice;
//    private String sugar;
//    private String parentName;
//    private Integer extraPrice ;
    private Integer status;
    private Date updateTime;
    private Date createTime;

//    private List<ShopCommoditySpecification> specifications;
//
//    public String getImageUrlAll() {
//        if(StringUtils.isNotBlank(imageUrl) && !imageUrl.startsWith("http")) {
//            return SystemConfig.basePath + imageUrl;
//        }
//        return imageUrl;
//    }
}
